package com.zhang.network.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author zhang
 * @since 2021-04-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Network对象", description = "")
public class Network implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "人脉圈管理员")
    private Integer userId;

    @ApiModelProperty(value = "人脉圈标题")
    private String title;

    @ApiModelProperty(value = "人脉圈类型")
    private String type;

    @ApiModelProperty(value = "谈资话题")
    private String topic;

    @ApiModelProperty(value = "是否公开 1-公开 0-不公开")
    private Integer visible;

    @ApiModelProperty(value = "状态 1-有效 0-失效 ")
    @TableLogic
    private Integer status;


}
